* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  user-select: none;
}
body {
  transform: scale(1);
  transform-origin: 0 0;
}
.container {
  width: 472px;
  background-color: #fff;
  font-size: 22px;
  letter-spacing: 1px;
}

.title {
  text-align: center;
}

.content {
  margin: 15px auto;
  padding: 20px;
}

.obc-tmpl table {
  table-layout: fixed;
  min-width: 100%;
  width: 100%;
  margin: 0;
  border-collapse: collapse;
  table-layout: fixed;
  min-width: 100%;
  width: 100%;
  overflow: hidden;
  background: #f5f5f5;
  border-color: #e0dad3;
}

table tbody, table tr {
  border-color: inherit;
  font-size: 14px;
}

table th {
  background-color: #f0ece8;
  font-weight: bold;
  text-align: left;
  min-width: 1em;
  border: 1px solid #e0dad3;
  border-color: inherit;
  padding: 7px;
  vertical-align: middle;
  box-sizing: border-box;
  position: relative;
  font-size: 14px;
  line-height: 1.4;
  min-width: 144px;
}
table tbody {
  border-color: inherit;
  font-size: 14px;
}

table td, table th {
  min-width: 1em;
  border: 1px solid #e0dad3;
  border-color: inherit;
  padding: 7px;
  vertical-align: middle;
  box-sizing: border-box;
  position: relative;
  font-size: 14px;
  line-height: 1.4;
}

.obc-tmpl table td {
  line-height: 1.6;
}

.obc-tmpl .obc-tmpl__part::after{
  content: '';
    display: block;
    width: 100%;
    height: 100%;
    border: 1px solid #b1968b;
    position: absolute;
    left: 0;
    top: 0;
    box-sizing: border-box;
    border-radius: inherit;
    pointer-events: none;
}

.obc-tmpl div {
  white-space: normal;
}

.obc-tmpl .obc-tmpl__part {
  background: #f5f5f5;
  border-radius: 5px;
  overflow: hidden;
  position: relative;
  margin-bottom: 7px;
}

.obc-tmpl .obc-tmpl__part>h2 {
  padding-left: 6px;
  padding-right: 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
  margin: 0;
  text-align: center;
  width: 100%;
  background: url() left center/contain no-repeat,url() right center/contain no-repeat,url() center/contain repeat-x;
  font-size: 17px;
  line-height: 1.35;
  padding: 7px 10px;
  font-weight: normal;
  min-height: 36px;
}

.obc-tmpl .obc-tmpl__part>* {
  width: 100%;
}

.obc-tmpl .obc-tmpl__switch-btn-list {
  padding: 7px 16px 0;
  overflow: hidden;
  list-style: none;
  display: none;
  margin: 0;
}

.obc-tmpl .obc-tmpl__switch-btn-list .obc-tmpl__switch-btn--active {
  background: #333;
  color: #f4d8a8;
}
.obc-tmpl .obc-tmpl__switch-btn-list .obc-tmpl__switch-btn {
  line-height: 24px;
  border-radius: 3px;
  border: 1px solid #333;
  font-size: 13px;
  padding: 0 12px;
  cursor: pointer;
  float: left;
  margin-right: 8px;
  margin-bottom: 7px;
}

.obc-tmpl .obc-tmpl__switch-btn-list .obc-tmpl__switch-btn {
  line-height: 24px;
  border-radius: 3px;
  border: 1px solid #333;
  font-size: 13px;
  padding: 0 12px;
  cursor: pointer;
  float: left;
  margin-right: 8px;
  margin-bottom: 7px;
  letter-spacing: 0.008em;
}

.h3 {
  background-color: #f0ece8;
  font-weight: bold;
  padding: 7px;
}

.obc-tmpl-strategy__url {
  display: block;
  text-decoration: none;
  width: 100%;
  padding: 20px;
}

a {
  color: #4696db;
  -webkit-text-decoration: underline #4696db;
  text-decoration: underline #4696db;
  display: inline;
  vertical-align: baseline;
}

.obc-tmpl-strategy__url img, .obc-tmpl-strategy__url img {
  display: block;
  width: 100%;
  height: 147px;
  border-radius: 4px;
  margin-bottom: 8px;
}

.obc-tmpl img {
  margin: 0 auto;
}

.obc-tmpl-strategy__card--text {
  font-size: 14px;
  color: #333333;
  line-height: 19px;
  margin-right: 8px;
  text-overflow: ellipsis;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  word-break: break-all;
  text-align: center;
}

.obc-tmpl-character__voice-item {
  display: flex;
  align-items: center;
}

.obc-tmpl-character__voice-btn {
  flex-shrink: 0;
  margin-right: 6px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  position: relative;
  overflow: hidden;
  background-image: url();
  background-size: 100% 100%;
  background-position: center center;
}

.obc-tmpl-character__voice-content{
  padding-top: 1px;
}

.obc-tmp-character__mobile--title{
  font-weight: bold;
  color: #000;
  padding-top: 16px;
  line-height: 30px;
  font-size: 30px;
  padding-left: 16px;
  text-shadow: 0px 0px 4px rgb(255 255 255 / 90%);
}

.obc-tmp-character__mobile--stars {
  padding-left: 16px;
}

.obc-tmp-character__mobile--stars .obc-tmpl__rate-icon {
  width: 18px;
  height: 18px;
  margin-left: 2px;
}

.obc-tmpl .obc-tmpl__rate-icon {
  width: 12px;
  height: 12px;
  display: inline-block;
  vertical-align: middle;
  background: url() no-repeat center center;
  background-size: 100% 100%;
}

.obc-tmp-character__property{
  padding-bottom: 6px;
  padding-left: 12px;
  position: absolute;
  bottom: 0;
}

.obc-tmp-character__mobile .obc-tmp-character__list {
  display: flex;
}

.obc-tmp-character__mobile .obc-tmp-character__item{
  display: flex;
  justify-content: space-between;
  background: rgba(245,245,245,0.7);
  border-radius: 2px;
  width: 153px;
  margin-right: 12px;
  margin-bottom: 6px;
  flex-shrink: 0;
}

.obc-tmp-character__mobile .obc-tmp-character__key{
  font-weight: bold;
  color: #fff;
  line-height: 18px;
  font-size: 12px;
  padding: 3px 5px;
  border-radius: 2px;
  flex-shrink: 0;
  background: #B1968B;
}

.obc-tmp-character__mobile .obc-tmp-character__value {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  color: #333;
  line-height: 18px;
  font-size: 13px;
  padding: 3px 4px;
}

.obc-tmp-character__mobile {
  display: block;
  background-image: url(https://bbs.mihoyo.com/ys/obc/_nuxt/img/18faa0e.png);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  height: 400px;
  position: relative;
}

.obc-tmp-character__mobile--box {
  background-repeat: no-repeat;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
}

.obc-tmp-character__pc, .obc-tmpl-character-table--pc {
  display: none;
}

.obc-tmpl ul {
  list-style: none;
  padding: 0;
  display: block;
}

.obc-tmpl-character td.obc-tmpl-character__avatar {
  padding: 0;
  vertical-align: middle;
}

.obc-tmpl-character td.obc-tmpl-character__avatar img {
  width: 100%;
}

.obc-tmpl table td>img:only-child {
  display: block;
}

.obc-tmpl .obc-tmpl__material {
  display: flex;
    flex-wrap: wrap;
    margin-bottom: 10px;
    margin-right: 10px;
}

.obc-tmpl .obc-tmpl__material-item {
  line-height: 0;
  margin-bottom: 10px;
  margin-right: 10px;
}

.obc-tmpl .obc-tmpl__material-href {
  text-decoration: none;
  position: relative;
  display: inline-block;
  width: 50px;
  margin-bottom: 10px;
}

.obc-tmpl .obc-tmpl__material-image {
  background: #f0ece8;
  width: 100%;
  height: 50px;
  display: block;
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.obc-tmpl .obc-tmpl__material-name {
  background: #e0dad3;
  color: #333;
  font-size: 10px;
  line-height: 10px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 3px 0;
  border-bottom-left-radius: 3px;
  border-bottom-right-radius: 3px;
  position: absolute;
  bottom: -10px;
  width: 100%;
}

.obc-tmpl .obc-tmpl__material-num {
  position: absolute;
  right: 3px;
  top: 3px;
  color: #fff;
  font-size: 10px;
  font-weight: bold;
  line-height: 10px;
  text-shadow: 0 0 2px rgb(0 0 0 / 80%);
}